package cn.iocoder.yudao.module.famous.doctor.convert.extraction;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.famous.doctor.controller.admin.extraction.vo.*;
import cn.iocoder.yudao.module.famous.doctor.dal.dataobject.extraction.ExtractionDO;

/**
 * 开方 Convert
 *
 * @author 档案
 */
@Mapper
public interface ExtractionConvert {

    ExtractionConvert INSTANCE = Mappers.getMapper(ExtractionConvert.class);

    ExtractionDO convert(ExtractionCreateReqVO bean);

    ExtractionDO convert(ExtractionUpdateReqVO bean);

    ExtractionRespVO convert(ExtractionDO bean);

    List<ExtractionRespVO> convertList(List<ExtractionDO> list);

    PageResult<ExtractionRespVO> convertPage(PageResult<ExtractionDO> page);

    List<ExtractionExcelVO> convertList02(List<ExtractionDO> list);

}
